package service.impl;

import bean.pojo.GdHospital;
import dao.GdHospitalMapper;
import org.springframework.stereotype.Service;
import service.GdHospitalService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GdHospitalServiceImpl implements GdHospitalService {

    @Resource
    private GdHospitalMapper gdHospitalMapper;

    public int insert(GdHospital pojo){
        return gdHospitalMapper.insert(pojo);
    }

    public int insertList(List< GdHospital> pojos){
        return gdHospitalMapper.insertList(pojos);
    }

    public List<GdHospital> select(GdHospital pojo){
        return gdHospitalMapper.select(pojo);
    }

    public int update(GdHospital pojo){
        return gdHospitalMapper.update(pojo);
    }

}
